import sqlite3

conn = sqlite3.connect("cloud_clip.db")
cursor = conn.cursor()

# 插入数据
cursor.executescript("""
INSERT INTO Platforms (name) VALUES ('抖音云剪');
INSERT INTO Regions (name) VALUES ('全国不限地区');
INSERT INTO FanLevels (name) VALUES ('1级'), ('2级'), ('3级');

INSERT INTO PricingRules (platform_id, region_id, fan_level_id, min_price, max_price)
VALUES
(1, 1, 1, 6, 15),
(1, 1, 2, 6, 20),
(1, 1, 3, 10, 30);
""")


print("插入数据成功.")

conn.commit()
conn.close()
